package com.atguigu.interview.study.circulardepend;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

/**
 * @author gcq
 * @Create 2020-12-09
 */
public class ClientSpringContainer {
    public static void main(String[] args) {
        // 这里是按照文件路径来找 也可以按照 ClassPathXmlApplicationContext
        ApplicationContext context = new FileSystemXmlApplicationContext("D:\\java\\gitee\\java-learning-note\\Evan Guo\\面试题\\面试题第二季\\code\\interview2020\\src\\main\\resources\\applicationContext.xml");
        A a = context.getBean("a", A.class);
        B b = context.getBean("b", B.class);//28:38
    }
}
// 步过、步入、强制步入、跳出